package cn.itsource.basic.service;

import cn.itsource.basic.query.BaseQuery;
import cn.itsource.basic.util.PageList;
import cn.itsource.order.domain.AdoptOrder;
import cn.itsource.order.query.AdoptOrderQuery;

import java.util.List;

public interface IBaseService<T> {
    void add(T t);
    void remove(Long id);
    void update(T t);
    T findOne(Long id);
    List<T> findAll();
    PageList<T> queryForPage(BaseQuery baseQuery);


}
